import BaseAssetLoad from "./BaseAssetLoad";
import MsgDispatcher, { MsgType } from "../../Tool/MsgDispatcher";

export default class DefaultAssetLoader extends BaseAssetLoad 
{
    public LoadAsset(succss?: Function, fail?: Function, complete?: Function) 
    {
        succss&&succss();
    }

    public OnLoadPregress(percent: number) 
    {
        MsgDispatcher.Send(MsgType.GameLoading.toString(), percent);
    }

    public OnLoadFinished() 
    {
        
    }
}